package com.guigu.lzw.service.impl;

import com.guigu.lzw.service.MakeService;
import com.guigu.mapper.MakeMapper;
import com.guigu.pojo.Make;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MakeServiceimpl implements MakeService {
    @Autowired
    MakeMapper mm;
    public int seven(Make make) {
        return mm.insertSelective(make);
    }

    public List<Make> findAll(Make make) {
        return mm.findAll(make);
    }
}
